package com.atlatl.gwt.client.mapquest;

/**
 * The MQManeuver class contains specific information for an individual
 * maneuver. A series of maneuvers are used to complete routing from the
 * origination to destination.
 * 
 * @author JMILLER
 * 
 */
public class MQManeuver {
	/** Verbal direction. */
	private String text;

	/** Specifies which direction in a series of directions you are using. */
	private int number;

	/** Specifies the time in minutes that a maneuver will take. */
	private int time;

	/** Specifies the distance a maneuver will take. */
	private float distance; // default is miles

	/** Describes the unit that is used to measure distance. */
	private String distanceUnit;

	public MQManeuver(int number, String text, int time, float distance,
			String distanceUnit) {
		this.number = number;
		this.text = text;
		this.time = time;
		this.distance = distance;
		this.distanceUnit = distanceUnit;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getText() {
		return text;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public int getNumber() {
		return number;
	}

	public void setTime(int time) {
		this.time = time;
	}

	public int getTime() {
		return time;
	}

	public void setDistance(float distance) {
		this.distance = distance;
	}

	public float getDistance() {
		return distance;
	}

	public void setDistanceUnit(String distanceUnit) {
		this.distanceUnit = distanceUnit;
	}

	public String getDistanceUnit() {
		return distanceUnit;
	}
}
